import 'package:fish_redux/fish_redux.dart';
import '../../../app_files.dart';
import 'package:flutter/material.dart';

class RefuseIndoorState implements Cloneable<RefuseIndoorState> {
  CheckListItemModel model;
  List orderPhoto = [];
  int selectIndex = 0;
  int selectReason = 0;

  TextEditingController textEditingController = TextEditingController();

  @override
  RefuseIndoorState clone() {
    return RefuseIndoorState()
      ..model = model
      ..selectIndex = selectIndex
      ..textEditingController = textEditingController
      ..orderPhoto = orderPhoto
      ..selectReason = selectReason;
  }
}

RefuseIndoorState initState(Map<String, dynamic> args) {
  return RefuseIndoorState()..model = args['info'];
}
